package com.example.demo.entity;

import java.io.Serializable;

public class Favorite implements Serializable {
    private Integer favoriteId;

    private Integer favoriteUserId;

    private Integer favoriteDocuId;

    private static final long serialVersionUID = 1L;

    public Integer getFavoriteId() {
        return favoriteId;
    }

    public void setFavoriteId(Integer favoriteId) {
        this.favoriteId = favoriteId;
    }

    public Integer getFavoriteUserId() {
        return favoriteUserId;
    }

    public void setFavoriteUserId(Integer favoriteUserId) {
        this.favoriteUserId = favoriteUserId;
    }

    public Integer getFavoriteDocuId() {
        return favoriteDocuId;
    }

    public void setFavoriteDocuId(Integer favoriteDocuId) {
        this.favoriteDocuId = favoriteDocuId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", favoriteId=").append(favoriteId);
        sb.append(", favoriteUserId=").append(favoriteUserId);
        sb.append(", favoriteDocuId=").append(favoriteDocuId);
        sb.append("]");
        return sb.toString();
    }
}